package cn.aaalei.service.impl;

import cn.aaalei.mapper.MainMapper;
import cn.aaalei.pojo.AdminInfo;
import cn.aaalei.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private MainMapper mainMapper;

    @Override
    public List<AdminInfo> findList(String username) {
        return mainMapper.findList(username);
    }
}
